djbuch.kapitel_19
Class MessageException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--djbuch.kapitel_19.MessageException
All Implemented Interfaces:
java.io.Serializable

public class MessageException
extends java.lang.Exception

Generelle Exception für alle Fehler. Alle NamingExceptions oder NotesExceptions werden in diese Exceptions umgewandelt.

Author:
Thomas Ekert
See Also:
Serialized Form

Constructor Summary
MessageException()
           
MessageException(java.lang.Exception oldException)
           
MessageException(java.lang.Exception oldException, java.lang.String message)
           
MessageException(java.lang.String message)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.Exception getOldException()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageException

public MessageException()

MessageException

public MessageException(java.lang.String message)

MessageException

public MessageException(java.lang.Exception oldException)

MessageException

public MessageException(java.lang.Exception oldException,
                        java.lang.String message)
Method Detail

getOldException

public java.lang.Exception getOldException()

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable